home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Languages / Mops 2.7 / Mops Manual / Part I.srd / Part I.srd.rsrc / PICT_31.png < prev    next >
Portable Network Graphic  |  1996-01-02  |  140KB  |  816x1056  |  8-bit (256 colors)
Labels: book | bulletin board | earth | reckoner | sky | windowpane
OCR: Lesson Mapping class -object relationships An object oriented language like Mops builds programs around the same kinds of relationships as portrayed in the accountant metaphor. Class definitions play central role in the structure of a program. As such, the most important early step in planning Mops program is to visualize what the main objects -the actors -in your program will be doing Because the Macintosh capable ot recreating on -screen metaphors for so many different real l-world objects. bank book an artist's canvas, calendar is best to devise classes of Mops objects that bear a-be havioral resemblance to the real -world items Once you've determined what the program's classes will be it's time to start writing the program by defining those classes with methods. Then create objects of ...